home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 039a / cport1.zip / COMDEMO.DOC < prev    next >
Text File  |  1991-06-03  |  2KB  |  58 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.         Comdemo - Serial Communications Demo.
  7.  
  8.         Comdemo is a full duplex terminal program. It recognizes most
  9.         of the more common ANSI control sequence such as cursor
  10.         location and screen attributes. You can use Comdemo to
  11.         dial up a BBS or communicate with RS-232 equipment. 
  12.  
  13.         Comdemo will send Ctrl characters and keys such as the 
  14.         escape key verbatim. Some Alt characters are reserved for 
  15.         commands. They are as follows:
  16.  
  17.  
  18.          Alt A - Toggle between ANSI and TTY terminal.
  19.          Alt B - Next baud rate.
  20.          Alt C - Next COM port.
  21.          Alt D - Hayes dial command (sends the string "ATDT")
  22.          Alt E - Toggle echo mode.
  23.          Alt G - Hayes hang up command (sends the string "~~~+++~~~ATH0\r\n").
  24.          Alt H - Next handshake scheme.
  25.          Alt I - Initialize a Hayes modem (sends the string "ATZ").
  26.          Alt N - Append a line feed to a carriage return toggle.
  27.          Alt M - Toggle mode (8-1-N, 7-1-E).
  28.          Alt X - Quit Comdemo.
  29.     
  30.      
  31.         To dial up a BBS, set the COM port (Alt C), baud rate (Alt B), 
  32.         word length (Alt W), number of stop bits (Alt S) and parity 
  33.         (Alt P). If the BBS send ANSI escape codes make sure ANSI is 
  34.         selected (Alt A). You probably need to set LF on (Alt N) as well.
  35.         Now you can initialize your modem and dial. Press Alt I to
  36.         initialize the modem and then press Alt D followed by the
  37.         phone number and the enter key. If the initialize and dial
  38.         strings in Comdemo are not appropriate for your modem, you
  39.         can enter them by hand.
  40.  
  41.  
  42.         The source code for Comdemo is provided for your inspection.
  43.         It is, however, compiled with function that are exclusive to
  44.         the Turbo C v2.0 run time library. Specifically those prototyped 
  45.         in Conio.h. If you have similar functions in your C
  46.         compiler's run time library or you have an extended windows
  47.         library, you could easily replace them. There are not that
  48.         many. They are as follows:
  49.  
  50.  
  51.                 gotoxy()   - Locates the cursor.  
  52.                 wherex()   - Returns cursor X coordinate.
  53.                 wherey()   - Returns cursor Y coordinate.
  54.                 clrscr()   - Clears the window.
  55.                 textattr() - Sets the text attributes.
  56.                 window()   - Defines a window.
  57.                 clreol()   - Clears to end of line.
  58.